package com.lottery.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("lottery_participation")
public class LotteryParticipation {
    /**
     * 参与记录ID
     */
    @TableId(type = IdType.AUTO)
    private Long participationId;
    
    /**
     * 用户ID
     */
    private Integer userId;
    
    /**
     * 活动ID
     */
    private Integer activityId;
    
    /**
     * 参与时间
     */
    private LocalDateTime participateTime;
    
    /**
     * 参与IP地址
     */
    private String ipAddress;
    
    /**
     * 设备标识
     */
    private String deviceId;
} 